﻿@{
    Layout = null;
    var LoginUser = Model as Weixin.MP.DAL.WeixinMP.UsersEO;
}
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>微信管理平台</title>
    <link href="/Content/themes/default/style.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="/Content/themes/css/core.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="/Content/themes/css/print.css" rel="stylesheet" type="text/css" media="print" />
    <link href="/Content/uploadify/css/uploadify.css" rel="stylesheet" type="text/css"
        media="screen" />
    <!--[if IE]>
    <link href="/Content/themes/css/ieHack.css" rel="stylesheet" type="text/css" media="screen"/>
    <![endif]-->
    <script src="/Content/Scripts/speedup.js" type="text/javascript"></script>
    <script src="/Content/Scripts/jquery-1.7.2.js" type="text/javascript"></script>
    <script src="/Content/Scripts/jquery.cookie.js" type="text/javascript"></script>
    <script src="/Content/Scripts/jquery.validate.js" type="text/javascript"></script>
    <script src="/Content/Scripts/jquery.bgiframe.js" type="text/javascript"></script>
    <script src="/Content/Scripts/dwz.min.js" type="text/javascript"></script>
    <script src="/Content/Scripts/dwz.regional.zh.js" type="text/javascript"></script>
    <script src="/Content/xheditor/xheditor-1.1.14-zh-cn.min.js" type="text/javascript"></script>
    <script src="/Content/uploadify/scripts/jquery.uploadify.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            DWZ.init("/Content/dwz.frag.xml", {
                loginUrl: "/Login", // 跳到登录页面
                statusCode: { ok: 200, error: 300, timeout: 301 }, //【可选】
                pageInfo: { pageNum: "pageIndex", numPerPage: "pageSize", orderField: "orderField", orderDirection: "orderDirection" },
                debug: false, // 调试模式 【true|false】
                callback: function () {
                    initEnv();
                    $("#themeList").theme({ themeBase: "themes" });
                }
            });
        });
    </script>
    <style>
        .user_info
        {
            margin:5px 10px 0 10px;
            border:1px solid #DADADA;
            height:95px;
            background:#F3F3F3;
            color:#000000;
            padding:10px;
        }
        .user_name
        {
            background:url(/Content/themes/default/images/user_name_bg.jpg) no-repeat left top;
            height:32px;
            padding:2px 0 0 25px;
        }
        .login_time
        {
            background:url(/Content/themes/default/images/login_time_bg.jpg) no-repeat left top;
            height:32px;
            padding:2px 0 0 25px;
        }
        .user_edit
        {
            background:url(/Content/themes/default/images/user_edit_bg.jpg) no-repeat left top;
            height:23px;
            padding:2px 0 0 25px;
        }
        .user_edit a
        {
            display:block;
            float:left;
        }
        .user_edit a,.user_edit a:hover,.user_edit a:visited
        {
            color:#1579C4;
        }
        .user_edit .edit_password
        {
            width:80px;
        }
        .menu_list{
            padding:0;
        }
        .menu_list ul{
            height:365px;
        }
        .menu_list li{
            height:82px;
            width:82px;
            float:left;
            overflow:hidden;
            margin:20px 0 0 12px;
            _display:inline;
        }
        .menu_list li img{
            height:82px;
            width:82px;
        }
        .home_bg {
            background: url(/Content/themes/default/images/home_bg.jpg) no-repeat left bottom;
            float: left;
            height: 768px; 
            width: 1024px;
        }
    </style>
</head>
<body scroll="no">
    <div id="layout">
        <!--header begin-->
        <div id="header">
            <div class="headerNav">
                <a class="logo" href="#">标志</a>
                <ul class="nav">
                    <li><a href="/User/Password" target="dialog" mask="true" width="500" height="350">修改密码</a></li>
                    <li><a href="/Logout">退出系统</a></li>
                </ul>
            </div>
        </div>
        <!--header end-->
        <!--left menu begin-->
        <div id="leftside">
            <div id="sidebar_s">
                <div class="collapse">
                    <div class="toggleCollapse">
                        <div>
                        </div>
                    </div>
                </div>
            </div>
            <div id="sidebar">
                <div class="user_info">
                    <div class="user_name">
                        用户：@LoginUser.UserId
                    </div>
                    <div class="login_time">
                        登录：<span id="timeView">@LoginUser.LoginTime.ToString("yyyy-MM-dd")</span>
                    </div>
                    <div class="user_edit">
                        <a href="/User/Password" class="edit_password" target="dialog" mask="true" width="500" height="350">修改密码</a>
                        <a href="/Logout">退出登录</a>
                    </div>
                </div>
                <div class="menu_list">
                    <ul>
                        <li><a href="/Menu" target="navTab" rel="Menu_List"><span style="display: none;">菜单设置</span><img src="/Content/themes/default/images/menu_ico.jpg"/></a></li>
                        <li><a href="/Message/AttendReply" target="navTab" rel="Message_AttendReply"><span style="display: none;">关注回复</span><img src="/Content/themes/default/images/attendtion_reply_ico.jpg"/></a></li>
                        <li><a href="/Message/CustomReply" target="navTab" rel="Message_CustomReply"><span style="display: none;">自定义回复</span><img src="/Content/themes/default/images/custom_reply_ico.jpg"/></a></li>
                        <li><a href="/Message/SendAll" target="navTab" rel="Message_SendAll"><span style="display: none;">消息群发</span><img src="/Content/themes/default/images/message_sendall_ico.jpg"/></a></li>
                        <li><a href="/AppUser/Attention" target="navTab" rel="AppUser_Attention"><span style="display: none;">关注用户</span><img src="/Content/themes/default/images/weixin_users_ico.jpg"/></a></li>
                         @{
                            if (LoginUser.UserId.ToLower() == "admin")
                            {
                                <li><a href="/User" target="navTab" rel="User_List"><span style="display: none;">系统用户</span><img src="/Content/themes/default/images/user_ico.jpg"/></a></li>
                            }
                        }
                    </ul>
                </div>
                
            </div>
        </div>
        <!--left menu end-->
        <!--container begin-->
        <div id="container">
            <div id="navTab" class="tabsPage">
                <div class="tabsPageHeader">
                    <div class="tabsPageHeaderContent">
                        <!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
                        <ul class="navTab-tab">
                            <li tabid="main" class="main"><a href="javascript:;"><span><span class="home_icon">主页</span></span></a></li>
                        </ul>
                    </div>
                    <div class="tabsLeft">left</div>
                    <!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
                    <div class="tabsRight">right</div>
                    <!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
                    <div class="tabsMore">more</div>
                </div>
                <ul class="tabsMoreList">
                    <li><a href="javascript:;">主页</a></li>
                </ul>
                <div class="navTab-panel tabsPageContent layoutBox">
                    <div class="page unitBox">
                        <div class="home_bg"></div>
                        
                    </div>
                </div>
            </div>
        </div>
        <!--container end-->
    </div>
    <div id="footer">
    </div>
</body>
</html>
